<template>
  <div>{{ testRef }}</div>
</template>

<script setup>
import { ref } from "vue";
import { reactive } from "./sourceCode/ractive";
const testRef = ref("测试ref");
const obj = {
  name: "dawnmale",
  age: 22,
  test: {
    test1: {
      test2: 21,
    },
  },
};

const proxy = reactive(obj);
console.log(proxy.age);
proxy.test.test1.test2 = 22;
console.log(delete proxy.age);
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
./write/ractive
